package com.yunti.springboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunti.springboot.po.ScoreRule;
import com.yunti.springboot.po.Subject;
import com.yunti.springboot.vo.Result;
import com.yunti.springboot.vo.req.ScoreRuleReq;
import org.springframework.stereotype.Service;

@Service
public interface ScoreRuleService extends IService<ScoreRule> {
    Result getScoreRuleList(Integer subItemId);

    Result getScoreByRawScore(Integer sex, Integer subItemId, String rawScore);

    Result findPage(ScoreRuleReq req);

    Result addScoreRole(ScoreRule req);

    Result updateScoreRoleById(ScoreRule req);

    Result delScoreRoleById(ScoreRule req);
}
